/**
 * 定义一个枚举 
 * 枚举:10机身、20发动机、30APU、40绞⻋
 */
interface ComponentItem {
  key: number;
  name: string;
}

const componentTypes: ComponentItem[] = [
  { key: 10, name: '机身' },
  { key: 20, name: '发动机' },
  { key: 30, name: 'APU' },
  { key: 40, name: '绞车' }
];


/**
 * 供应商类别
 */

const supplierLb: ComponentItem[] = [
  { key: 10, name: '供应商' },
  { key: 20, name: '承修商' },
  { key: 30, name: '计量单位' },
  { key: 40, name: 'OEM' }
];

export { componentTypes,supplierLb };
export type { ComponentItem };